
package com.webwork.lims.util;

import java.text.SimpleDateFormat;

/**
 * 日期格式类
 *
 */
public final class DateFormat {

	/**
	 * yyyy-MM-dd HH:mm:ss
	 */
	public static SimpleDateFormat Simple = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
	
	/**
	 * yyyyMMddHHmmss
	 */
	public static SimpleDateFormat NUMBER = new SimpleDateFormat("yyyyMMddHHmmss");
	
	/**
	 * yyyyMMdd
	 */
	public static SimpleDateFormat SHORT_NUMBER = new SimpleDateFormat("yyyyMMdd");

	/**
	 * yyyy
	 */
	public static SimpleDateFormat YEAR = new SimpleDateFormat("yyyy");
	
	/**
	 * yyyy-MM
	 */
	public static SimpleDateFormat MONTH = new SimpleDateFormat("yyyy-MM");
	
	/**
	 * yyyy-MM-dd
	 */
	public static SimpleDateFormat DAY = new SimpleDateFormat("yyyy-MM-dd");
	
}
